/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package scrumprojekt;

/**
 *
 * @author Robert
 */
public class Fardrapport {
    
private int fardsattId;
private int rapportId;
private double summaInklMoms;
private double summaExklMoms;
    
    public Fardrapport(int fardsattId, int rapportId, double summaInklMoms, double summaExklMoms){
    this.fardsattId = fardsattId;
    this.rapportId = rapportId;
    this.summaExklMoms = summaExklMoms;
    this.summaInklMoms = summaInklMoms;
    }
    
    
    public int getFardsattId(){
    return fardsattId;
    }
    
    public int getRapportId(){
    return rapportId;
    }
    public double getInkl()
    {
        return summaInklMoms;
    }
    
    public double getExkl()
    {
        return summaExklMoms;
    }

    
    @Override public String toString(){
        String fardsattString;
       
        if(fardsattId==0){
        fardsattString = "Privatbil: ";
        }
        else{
        fardsattString = "Övrigt färdmedel: ";
        }
        
        return fardsattString+summaInklMoms+" SEK";
    }
}